package com.esd.crm.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.esd.crm.entity.Customer;

@Mapper
public interface CustomerMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Customer record);

	int insertSelective(Customer record);

	Customer selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Customer record);

	int updateByPrimaryKeyWithBLOBs(Customer record);

	int updateByPrimaryKey(Customer record);

	List<Customer> selectByParam(Map<String, Object> param);

	int selectByParamCount(Map<String, Object> param);
}